package com.forum.dto;

import org.springframework.stereotype.Component;

import java.math.BigDecimal;

@Component
public class RechargeRequest {
    private Integer userId;
    private BigDecimal amount; // 充值金额

    // getters & setters
    public Integer getUserId() {
        return userId;
    }
    public void setUserId(Integer userId) {
        this.userId = userId;
    }
    public BigDecimal getAmount() {
        return amount;
    }
    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }
}
